package com.health.commons;

import java.util.Calendar;
import java.util.Date;

/**
 * Created by YYY-Work on 2017/7/7.
 */
public class TimeUtil {

    public static long getTimeLongAfterMinute(int minute)
    {
        Date date=new Date();
        Calendar calendar=Calendar.getInstance();
        calendar.setTime(date);
        calendar.add(Calendar.MINUTE, minute);
        Date afterDate=calendar.getTime();
        return afterDate.getTime();
    }
}
